
execute as @s at @s if data block ~ ~ ~ Items[{Slot:0b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:1b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:2b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:3b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:4b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:5b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:6b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:7b,id:"minecraft:iron_ingot",Count:64b}] if data block ~ ~ ~ Items[{Slot:8b,id:"minecraft:iron_ingot",Count:64b}] run function advm:recipes/compacted_ingot_success
